//
//  ffmpeg_file.h
//  FFmpegDemo
//
//  Created by xiaerfei on 2019/3/1.
//  Copyright © 2019 erfeixia. All rights reserved.
//

#ifndef ffmpeg_file_h
#define ffmpeg_file_h

#include <stdio.h>


int delete_file(char *file_name);
int move_file(char *src_path, char *dst_path);
int list(char *path);
int dump_fmt(char *file_path);

int fetch_audio(char *src_path, char *dst_path);
int fetch_audio_ffmpeg_api(const char *src_path,const char *dst_path);
int fetch_vedio_ffmpeg_api(char *src_path, char *dst_path);
int transfrom_vedio_to_flv(char *in_filename, char *out_filename);
int cut_vedio(double from_seconds, double end_seconds, const char* in_filename, const char* out_filename);
int compose_vedio(const char *video_video_file_name, const char *video_audio_file_name, const char *video_output_file_name);
int merge_video(const char *src_file1,const char *src_file2,const char *out_file);

#endif /* ffmpeg_file_h */
